package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.controller.util.Data;
import com.example.domain.Reservation;

import java.util.List;

public interface ReservationService extends IService<Reservation> {
    IPage<Reservation> getPageReservation(Integer page, Integer size, Integer status);

    List<Reservation>  getReservationByStatus(Integer id,Integer status);

    Data commitReservation(Reservation reservation);

    Data examine(Reservation reservation);
}
